From c9eab362166de971279bdadb4c1eecf3ae54c73d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 7 Oct 2017 22:45:05 -0400 Subject: [PATCH] Shortcuts window: Make search results themable Add a style class to the box containing search results, so we can apply style here. --- gtk/gtkshortcutswindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkshortcutswindow.c b/gtk/gtkshortcutswindow.c index 05b8f93b2a..d5600eda9b 100644 --- a/gtk/gtkshortcutswindow.c +++ b/gtk/gtkshortcutswindow.c @@ -976,9 +976,9 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self) NULL); box = g_object_new (GTK_TYPE_BOX, "halign", GTK_ALIGN_CENTER, - "spacing", 24, "orientation", GTK_ORIENTATION_VERTICAL, NULL); + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (box)), "shortcuts-search-results"); gtk_container_add (GTK_CONTAINER (scroller), GTK_WIDGET (box)); gtk_stack_add_named (priv->stack, scroller, "internal-search"); -- 2.30.2